package com.itheima.order.service;

import com.itheima.sh.entity.OrderEntity;

import java.util.List;

public interface OrderService {

    //根据用户id查看订单数据
    List<OrderEntity> findOrderInfoByUserId(Integer userId);

    //添加订单
    boolean addOrder(OrderEntity orderEntity);
}
